xen/arm: gic: set_type: Pass the type in parameter rather than in desc->arch.type
authorJulien Grall <julien.grall@arm.com>
Wed, 27 Jul 2016 13:58:25 +0000 (14:58 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 27 Jul 2016 19:23:28 +0000 (12:23 -0700)
commit47066162e60da545fb6317bec4cf9a1482b3a55c
tree466bddb829813e846868b87173c8ff55a483cb00
parent23e8118b8e691c2704d69aa2dcc3c496f9742321
xen/arm: gic: set_type: Pass the type in parameter rather than in desc->arch.type

A follow-up patch will not store the type in desc->arch.type. Also, the
callback prototype is more logical.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v2.c
xen/arch/arm/gic-v3.c
xen/arch/arm/gic.c
xen/include/asm-arm/gic.h